Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use objects to define readable expiration values #20

Merged
merged 7 commits into from
Aug 18, 2020
Merged

Use objects to define readable expiration values #20

merged 7 commits into from
Aug 18, 2020

Conversation

kidonng
Copy link
Contributor

@kidonng kidonng commented Jul 23, 2020

Fix #19, using @sindresorhus/to-milliseconds

Tests will be updated later

index.ts Outdated Show resolved Hide resolved
@fregante
Copy link
Owner

It looks good! I think only the docs are missing

@kidonng
Copy link
Contributor Author

kidonng commented Jul 26, 2020

@fregante Updated the docs, but I'm not sure if it's done in a proper way

readme.md Outdated Show resolved Hide resolved
Co-authored-by: Fregante <opensource@bfred.it>
@fregante fregante changed the title Use object to define maxAge Use objects to define readable expiration values Aug 18, 2020
@fregante fregante merged commit 46ca320 into fregante:master Aug 18, 2020
@fregante fregante added the enhancement New feature or request label Aug 18, 2020
@fregante
Copy link
Owner

fregante commented Aug 18, 2020

Sorry for the delay! I'd like to release this together with another important but breaking change: #7

In the meanwhile, it can be used as the pre-release 4.0.0-0

Thanks for helping!

@fregante
Copy link
Owner

fregante commented Aug 18, 2020

Never mind! Actually that one is not a breaking change, it still has to support the non-alarm version. I'm publishing v4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Use objects to define readable expiration values
2 participants